package com.gateway.web;


import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation;
import com.alicp.jetcache.anno.config.EnableMethodCache;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.gateway.config.GatewayAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication(exclude = GatewayAutoConfiguration.class)
@EnableEurekaClient
@MapperScan("com.gateway.web.mapper")
@EnableMethodCache(basePackages = "com.gateway.web")
@EnableCreateCacheAnnotation
public class DemoGateway {
    public static void main(String[] args) {
        SpringApplication.run(DemoGateway.class,args);
    }
}
